package com.ruoyi.jksd.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单佣金对象 xy_reward_log
 * 
 * @author ruoyi
 * @date 2024-05-27
 */
public class XyRewardLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 订单号 */
    @Excel(name = "订单号")
    private String oid;

    /** 产生交易用户 */
    @Excel(name = "产生交易用户")
    private String uid;

    /** 交易对象 */
    @Excel(name = "交易对象")
    private String sid;

    /** 交易数额 */
    @Excel(name = "交易数额")
    private BigDecimal num;

    /** 级差 */
    @Excel(name = "级差")
    private String lv;

    /** 订单类型 1充值订单(推广返佣) 2交易订单(交易返佣) */
    @Excel(name = "订单类型 1充值订单(推广返佣) 2交易订单(交易返佣)")
    private Long type;

    /** 佣金发放状态 0自动发放 1未发放 2已发放 */
    @Excel(name = "佣金发放状态 0自动发放 1未发放 2已发放")
    private Long status;

    /** 创建时间 */
    @Excel(name = "创建时间")
    private String addtime;

    /** 处理时间 */
    @Excel(name = "处理时间")
    private String endtime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOid(String oid) 
    {
        this.oid = oid;
    }

    public String getOid() 
    {
        return oid;
    }
    public void setUid(String uid) 
    {
        this.uid = uid;
    }

    public String getUid() 
    {
        return uid;
    }
    public void setSid(String sid) 
    {
        this.sid = sid;
    }

    public String getSid() 
    {
        return sid;
    }
    public void setNum(BigDecimal num) 
    {
        this.num = num;
    }

    public BigDecimal getNum() 
    {
        return num;
    }
    public void setLv(String lv) 
    {
        this.lv = lv;
    }

    public String getLv() 
    {
        return lv;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setAddtime(String addtime) 
    {
        this.addtime = addtime;
    }

    public String getAddtime() 
    {
        return addtime;
    }
    public void setEndtime(String endtime) 
    {
        this.endtime = endtime;
    }

    public String getEndtime() 
    {
        return endtime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("oid", getOid())
            .append("uid", getUid())
            .append("sid", getSid())
            .append("num", getNum())
            .append("lv", getLv())
            .append("type", getType())
            .append("status", getStatus())
            .append("addtime", getAddtime())
            .append("endtime", getEndtime())
            .toString();
    }
}
